package com.yunji.common.model.params;

import com.yunji.common.base.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.message.params
 * @Title: SuggestParam
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-30 20:07:09      V1.0        HuaAo       新建类
 */
@Data
public class SuggestParam extends PageDTO {

    @ApiModelProperty("用户昵称")
    @Length(message = "用户昵称长度不能超过{max}", max = 15)
    private String userName;

    @ApiModelProperty("用户手机号")
    @Length(message = "用户手机号长度不能超过{max}", max = 11)
    private String phoneNumber;

    @ApiModelProperty("反馈内容")
    private String content;

    @ApiModelProperty("搜索字段")
    private String searchField;

}